<script setup>
import Home from './views/home.vue'
import { getAuditList } from '@/api/index'
import { ref, getCurrentInstance } from 'vue'

const msgTxt = ref([{
  title: '传递数组对象', id: 1
},{
  title: '传递数组对象', id: 1
}])
const load = async () => {
  let data = await getAuditList()
  msgTxt.value = data
  console.log(data)
}

load()

</script>

<template>
  <router-view />
  <Home :msg="msgTxt" />  
</template>

<style scoped>

</style>
